package com.concurrency.example.immutable;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;

public class ImmutableExample2 {
    private static final ImmutableList<Integer> list = ImmutableList.of(1, 2, 3);
    private static final ImmutableSet<Integer> set = ImmutableSet.copyOf(list);
    private static final ImmutableMap<Integer, Integer> map = ImmutableMap.of(1, 2);
 }
